package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/3/23.
 */

public class OrdersModelBean {

    /**
     * id : 17
     * orderno : B20180227170431727234044
     * createtime : 2018-02-27 17:04:32
     * totalamount : 38
     * freight : 0
     * realpay : 38
     * curstatus : 1
     * tolnum : 1
     * orderlines : [{"productname":"枣干 艾莎食品","productId":501,"specname":"枣干","productnum":1,"price":38,"photo":"/upload/pics/3bcfbc73-3746-4bf2-92cb-a2402fffa2a2.jpg"}]
     */

    private int id;
    private String orderno;
    private String createtime;
    private double totalamount;
    private double freight;
    private double realpay;
    private int curstatus;
    private int tolnum;
    private List<OrderBean.DataBean.OrderlinesBean> orderlines;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderno() {
        return orderno;
    }

    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public double getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(double totalamount) {
        this.totalamount = totalamount;
    }

    public double getFreight() {
        return freight;
    }

    public void setFreight(double freight) {
        this.freight = freight;
    }

    public double getRealpay() {
        return realpay;
    }

    public void setRealpay(double realpay) {
        this.realpay = realpay;
    }

    public int getCurstatus() {
        return curstatus;
    }

    public void setCurstatus(int curstatus) {
        this.curstatus = curstatus;
    }

    public int getTolnum() {
        return tolnum;
    }

    public void setTolnum(int tolnum) {
        this.tolnum = tolnum;
    }

    public List<OrderBean.DataBean.OrderlinesBean> getOrderlines() {
        return orderlines;
    }

    public void setOrderlines(List<OrderBean.DataBean.OrderlinesBean> orderlines) {
        this.orderlines = orderlines;
    }

    public static class OrderlinesBean {
        /**
         * productname : 枣干 艾莎食品
         * productId : 501
         * specname : 枣干
         * productnum : 1
         * price : 38
         * photo : /upload/pics/3bcfbc73-3746-4bf2-92cb-a2402fffa2a2.jpg
         */

        private String productname;
        private int productId;
        private String specname;
        private int productnum;
        private double price;
        private String photo;

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getSpecname() {
            return specname;
        }

        public void setSpecname(String specname) {
            this.specname = specname;
        }

        public int getProductnum() {
            return productnum;
        }

        public void setProductnum(int productnum) {
            this.productnum = productnum;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }
    }

}
